<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8" />
    <title>电子资料</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" type="image/x-icon" href="/favicon.ico" th:href="@{/favicon.ico}" >
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />


</head>
<body>
<!--头部-->
<header th:replace="common/head" >
</header>
<!-- 页面指向 -->
<div class="page-point bg-white">
    <ul>
        <li>首页</li>
        <li>台账管理</li>
        <li>电子资料</li>
    </ul>
</div>
<!-- 菜单树 -->
<div th:replace="common/left" >
</div>
<!--主体内容-->
<div class="page-container">

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12">
            <h2 class="page-section-title">查询条件</h2>
        </div>
    </div>

    <div class="container-fluid query-frame-wrap mb-10 clearfix condition-query">
        <div class="col-lg-9 col-lg-item-6">
            <div class="row">
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>设备编号</label>
                        <select name="" id="queryEquipment" class="form-control documentQuery queryEquipment">
                        </select>
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>设备名称</label>
                        <input autocomplete="new-password" id="equipName" type="text" class="form-control documentQuery" />
                    </div>
                </div>
                <div class="col-lg-4">
                    <div class="query-frame">
                        <label>文档名称</label>
                        <input autocomplete="new-password" id="documentName" type="text" class="form-control documentQuery" />
                    </div>
                </div>
            </div>
        </div>

        <div class="col-lg-3">
            <div class="query-frame query-button">
                <img id="queryDocument" th:src="@{/image/search.png}" src="../../static/image/search.png" />
                <img class="reset" th:src="@{/image/rest.png}" src="../../static/image/rest.png" />
            </div>
        </div>
    </div>

    <div class="container-fluid mb-20 clearfix">
        <div class="col-md-12 rlt">
            <h2 class="page-section-title">电子资料列表</h2>
            <ul class="table-tool">
                <li id="add">
                    <span class="icon-list_add" aria-hidden="true"></span>
                    <label>新增</label>
                </li>
                <li id="update">
                    <span class="icon-list_xiugai" aria-hidden="true"></span>
                    <label>修改</label>
                </li>
                <li id="delete">
                    <span class="icon-list_shanchu" aria-hidden="true"></span>
                    <label >删除</label>
                </li>
                <li id="refreshTable">
                    <span class="icon-list_shuaxin" aria-hidden="true"></span>
                    <label>刷新</label>
                </li>
            </ul>
        </div>
    </div>

    <div class="container-fluid table-container">
        <table  id="documentTable" cellspacing="" cellpadding="">

        </table>
    </div>
</div>

<div class="modal fade modelForm" id="myModal" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" >
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title title"></h4>
            </div>
            <div class="modal-body">
                <div class="row">
                    <div class="col-lg-12">
                        <form id="documentForm" method="post" class="form-horizontal documentForm" action="">
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备编号</label>
                                <div class="col-lg-7">
                                    <select name="equipCode" id="equipCodeSelect2"class="form-control queryEquipment">
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">设备名称</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="equipName" disabled />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label form-required form-required-4">文档名称</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="documentName" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label">文档编号</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="documentCode" />
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-lg-3 control-label">上传人</label>
                                <div class="col-lg-7">
                                    <select name="uploadUser" class="form-control systemUserSearch">
                                    </select>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-lg-3 control-label">备注</label>
                                <div class="col-lg-7">
                                    <input autocomplete="new-password" type="text" class="form-control" name="remark" />
                                </div>
                            </div>
                            <div class="form-group uploadFile">
                                <label class="col-lg-3 control-label form-required form-required-4">文件上传</label>
                                <div class="col-lg-7 ">
                                    <input autocomplete="new-password" type="file" id="uploadfile" name="file" />
                                </div>

                            </div>
                            <div class="error-tips" style="padding-left: 155px;color: red;display:none">请先上传文件</div>

                            <!-- 隐藏唯一id -->
                            <input autocomplete="new-password" type="hidden" name="pkId" id="pkId" value="" />
                            <input autocomplete="new-password" type="hidden" name="fileName" id="fileName" value="" />
                            <input autocomplete="new-password" type="hidden" name="filePath" id="filePath" value="" />
                            <input autocomplete="new-password" type="hidden" name="fileSize" id="fileSize" value="" />
                            <input autocomplete="new-password" type="hidden" name="originalFileName" id="originalFileName" value="" />

                        </form>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-primary yes">保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
            </div>
        </div>
    </div>
</div>

<div th:replace="common/foot">
</div>



<script th:src="@{/js/platformAccount/electronicDocument.js}"  ></script>

</body>
</html>






